Conversation
|
pkg.pr.new packages benchmark commit |
📊 Bundle Size Comparison
👀 Notable resultsStatic test results:No major changes. Dynamic test results:No major changes. 📋 All resultsClick to reveal the results table (350 entries).
If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu. |
Resolution Time Benchmark---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Random Branching (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [0.81, 1.63, 3.58, 5.29, 6.21, 10.17, 19.15, 22.49]
line [0.83, 1.72, 3.83, 5.13, 6.26, 9.55, 18.76, 19.19]
line [0.80, 1.65, 3.53, 5.48, 5.73, 8.68, 17.80, 19.52]
---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Linear Recursion (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [0.32, 0.50, 0.67, 0.80, 1.07, 1.05, 1.24, 1.37]
line [0.27, 0.49, 0.63, 0.77, 0.99, 1.09, 1.22, 1.37]
line [0.32, 0.51, 0.63, 0.76, 1.03, 1.07, 1.27, 1.35]
---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Full Tree (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [0.82, 1.72, 3.04, 5.18, 9.99, 22.37, 46.41, 93.91]
line [0.85, 1.81, 3.78, 5.25, 10.90, 22.57, 47.72, 95.61]
line [0.81, 1.62, 3.22, 5.18, 10.44, 23.18, 47.68, 95.22]
|
There was a problem hiding this comment.
Pull request overview
Adds initial migration documentation to the TypeGPU docs site and exposes it via the Starlight sidebar, providing users with upgrade guidance between recent versions.
Changes:
- Added a new migration guide for 0.11 documenting
buffer.writePartialdeprecation and~unstabletexture/sampler stabilization. - Added a draft placeholder page for the upcoming 0.12 migration guide (visible in DEV only).
- Updated the docs sidebar to include a new “Migrations” section.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| apps/typegpu-docs/src/content/docs/migrations/0-12.mdx | Adds a draft 0.12 migration page stub. |
| apps/typegpu-docs/src/content/docs/migrations/0-11.mdx | Adds the 0.11 migration guide content and examples. |
| apps/typegpu-docs/astro.config.mjs | Adds a “Migrations” sidebar group and links to 0.11/0.12 pages (0.12 gated by DEV). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+5
to
+7
| The `buffer.writePartial` API is being deprecated in favor of `buffer.patch`. | ||
| To migrate, simply replace any partial write of arrays in the form of `[{ idx: 2, value: foo }, /* ... */]` with `{ 2: foo, /* ... */ }`. | ||
|
|
| + buffer.patch({ 2: d.vec3f(1, 2, 3) }); | ||
| ``` | ||
|
|
||
| ### Stabilizing textures and samplers |
| --- | ||
| title: Migrating to 0.12 | ||
| draft: true | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.